package com.richpencil.modules.weixin.domain;

import lombok.Data;
import com.richpencil.utils.StringHelper;

@Data
public class UrlEntry {

    public Integer ftype;
    public String  fid;
    public String  fconfigid;
    public String  fopenid;
    public boolean success=true;
    public boolean valid(){

        if(StringHelper.IsEmptyOrNull(ftype)){
            success= false;
        }
        if(StringHelper.IsEmptyOrNull(fconfigid)){
            success =false;
        }
        return success;

    }
}
